package ch01.team;

import java.util.List;

/**
 * Created by zc on 2016/1/18.
 */
public class Team {

    private List<Player> playerList;
    private String name;

    public Team() {
    }

    public Team(List<Player> playerList, String name) {
        this.playerList = playerList;
        this.name = name;
    }

    public List<Player> getPlayerList() {
        return playerList;
    }

    public void setPlayerList(List<Player> playerList) {
        this.playerList = playerList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
